﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Elitrans.HRM.Server
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IHistoryPositionsService" in both code and config file together.
    [ServiceContract]
    public interface IHistoryPositionsService
    {
        [OperationContract]
        string GetPreviosPosition();

        [OperationContract]
        void SetPositionAsPrevios(string position);

        [OperationContract]
        Dictionary<string, object> GetInfoAboutPosition();

        [OperationContract]
        void SetInfoAboutPosition( Dictionary<string, object> info);

        [OperationContract]
        List<Dictionary<string, object>> GetListOfAllPositions();
    }
}
